import Vue from 'vue'
import App from './App'

import ala from '@/service/ala'
import router from '@/service/router'
import store from '@/service/store/index'
import ElementUI from 'element-ui'
import VCharts from 'v-charts'
import GlobalPrototype from '@/service/prototype'
import VueLazyload from 'vue-lazyload'
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'
import VueDraggableResizable from 'vue-draggable-resizable'
import BaiduMap from 'vue-baidu-map'

import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/style/element-variables.scss'
import '@/assets/style/index.scss'
import '@/assets/style/flaticon/css/flaticon.css'
import '@/assets/style/iconall/icon.css'


import zkGroupbuy from '@/components/activitys/zk-groupbuy/index.vue'
import zkAritcleDetail from '@/components/articles/zk-aritcle-detail/index.vue'
import zkArticle from '@/components/articles/zk-article/index.vue'
import zkHelp from '@/components/articles/zk-help/index.vue'
import zkWiki from '@/components/cloud/zk-wiki/index.vue'
import zkBacktop from '@/components/common/zk-backtop/index.vue'
import zkLogo from '@/components/common/zk-logo/index.vue'
import zkNav from '@/components/common/zk-nav/index.vue'
import zkNodata from '@/components/common/zk-nodata/index.vue'
import zkPaste from '@/components/common/zk-paste/index.vue'
import zkPay from '@/components/common/zk-pay/index.vue'
import zkProgress from '@/components/common/zk-progress/index.vue'
import zkTopNav from '@/components/common/zk-top-nav/index.vue'
import zkAmount from '@/components/finance/zk-amount/index.vue'
import zkBuy from '@/components/order/zk-buy/index.vue'
import zkCart from '@/components/order/zk-cart/index.vue'
import zkOrderList from '@/components/order/zk-order-list/index.vue'
import zkOrderRate from '@/components/order/zk-order-rate/index.vue'
import zkOrderShow from '@/components/order/zk-order-show/index.vue'
import zkProductClass from '@/components/product/zk-product-class/index.vue'
import zkProductList from '@/components/product/zk-product-list/index.vue'
import zkGroupReport from '@/components/reports/zk-group-report/index.vue'
import zkNymReport from '@/components/reports/zk-nym-report/index.vue'
import zkReportTable from '@/components/reports/zk-report-table/index.vue'
import zkSingleReport from '@/components/reports/zk-single-report/index.vue'
import zkAddress from '@/components/themes/zk-address/index.vue'
import zkAudio from '@/components/themes/zk-audio/index.vue'
import zkAutoDialog from '@/components/themes/zk-auto-dialog/index.vue'
import zkAutoForm from '@/components/themes/zk-auto-form/index.vue'
import zkAvatar from '@/components/themes/zk-avatar/index.vue'
import zkCountdown from '@/components/themes/zk-countdown/index.vue'
import zkDialog from '@/components/themes/zk-dialog/index.vue'
import zkFileAudio from '@/components/themes/zk-file-audio/index.vue'
import zkFileManage from '@/components/themes/zk-file-manage/index.vue'
import zkFileVideo from '@/components/themes/zk-file-video/index.vue'
import zkFoot from '@/components/themes/zk-foot/index.vue'
import zkGrid from '@/components/themes/zk-grid/index.vue'
import zkHead from '@/components/themes/zk-head/index.vue'
import zkHtml from '@/components/themes/zk-html/index.vue'
import zkImageList from '@/components/themes/zk-image-list/index.vue'
import zkImage from '@/components/themes/zk-image/index.vue'
import zkKeyword from '@/components/themes/zk-keyword/index.vue'
import zkList from '@/components/themes/zk-list/index.vue'
import zkPopup from '@/components/themes/zk-popup/index.vue'
import zkQuickAction from '@/components/themes/zk-quick-action/index.vue'
import zkSearch from '@/components/themes/zk-search/index.vue'
import zkSwiperNav from '@/components/themes/zk-swiper-nav/index.vue'
import zkSwiper from '@/components/themes/zk-swiper/index.vue'
import zkTable from '@/components/themes/zk-table/index.vue'
import zkText from '@/components/themes/zk-text/index.vue'
import zkTitle from '@/components/themes/zk-title/index.vue'
import zkTop from '@/components/themes/zk-top/index.vue'
import zkTreetable from '@/components/themes/zk-treetable/index.vue'
import zkVideo from '@/components/themes/zk-video/index.vue'
import zkAddressEdit from '@/components/user/zk-address-edit/index.vue'
import zkHeadUser from '@/components/user/zk-head-user/index.vue'
import zkQrcode from '@/components/user/zk-qrcode/index.vue'
import zkUserAddress from '@/components/user/zk-user-address/index.vue'
import xActionBars from '@/elements/x-action-bars/index.vue'
import xAudioSelect from '@/elements/x-audio-select/index.vue'
import xAutoPreview from '@/elements/x-auto-preview/index.vue'
import xAutoconfig from '@/elements/x-autoconfig/index.vue'
import xBadge from '@/elements/x-badge/index.vue'
import xBatchSetting from '@/elements/x-batch-setting/index.vue'
import xBorder from '@/elements/x-border/index.vue'
import xButton from '@/elements/x-button/index.vue'
import xChart from '@/elements/x-chart/index.vue'
import xChat from '@/elements/x-chat/index.vue'
import xCheckbox from '@/elements/x-checkbox/index.vue'
import xCityPicker from '@/elements/x-city-picker/index.vue'
import xClass from '@/elements/x-class/index.vue'
import xCode from '@/elements/x-code/index.vue'
import xCol from '@/elements/x-col/index.vue'
import xContextmenu from '@/elements/x-contextmenu/index.vue'
import xCountUp from '@/elements/x-count-up/index.vue'
import xDataMultiple from '@/elements/x-data-multiple/index.vue'
import xDataSelect from '@/elements/x-data-select/index.vue'
import xDatetimeRange from '@/elements/x-datetime-range/index.vue'
import xEditor from '@/elements/x-editor/index.vue'
import xEnum from '@/elements/x-enum/index.vue'
import xGrade from '@/elements/x-grade/index.vue'
import xIcon from '@/elements/x-icon/index.vue'
import xImage from '@/elements/x-image/index.vue'
import xJson from '@/elements/x-json/index.vue'
import xLabel from '@/elements/x-label/index.vue'
import xLine from '@/elements/x-line/index.vue'
import xMapSelect from '@/elements/x-map-select/index.vue'
import xMarkdown from '@/elements/x-markdown/index.vue'
import xMultifileUpload from '@/elements/x-multifile-upload/index.vue'
import xMultipictureImage from '@/elements/x-multipicture-image/index.vue'
import xPreviewImage from '@/elements/x-preview-image/index.vue'
import xPreview from '@/elements/x-preview/index.vue'
import xQrcode from '@/elements/x-qrcode/index.vue'
import xRadio from '@/elements/x-radio/index.vue'
import xRelationSelect from '@/elements/x-relation-select/index.vue'
import xRelationTree from '@/elements/x-relation-tree/index.vue'
import xSelectImage from '@/elements/x-select-image/index.vue'
import xSelectTime from '@/elements/x-select-time/index.vue'
import xSelect from '@/elements/x-select/index.vue'
import xTableButton from '@/elements/x-table-button/index.vue'
import xTable from '@/elements/x-table/index.vue'
import search from '@/elements/x-table/search/index.vue'
import xUserTree from '@/elements/x-table/x-user-tree/index.vue'
import xTabs from '@/elements/x-tabs/index.vue'
import xTags from '@/elements/x-tags/index.vue'
import xTutorrialUpload from '@/elements/x-tutorrial-upload/index.vue'
import xUpload from '@/elements/x-upload/index.vue'
import xUsername from '@/elements/x-username/index.vue'
import xVideoSelect from '@/elements/x-video-select/index.vue'
import xWidget from '@/elements/x-widget/index.vue'
import adminActivityEdit from '@/admins/activity/admin-activity-edit/index.vue'
import adminActivitySet from '@/admins/activity/admin-activity-set/index.vue'
import adminAppPublish from '@/admins/admin/admin-app-publish/index.vue'
import adminApp from '@/admins/admin/admin-app/index.vue'
import adminCustomer from '@/admins/admin/admin-customer/index.vue'
import adminLayout from '@/admins/admin/admin-layout/index.vue'
import adminLight from '@/admins/admin/admin-light/index.vue'
import adminMessage from '@/admins/admin/admin-message/index.vue'
import adminSmartHand from '@/admins/admin/admin-smart-hand/index.vue'
import adminSwagger from '@/admins/admin/admin-swagger/index.vue'
import adminUserFreeze from '@/admins/admin/admin-user-freeze/index.vue'
import adminUserRelationup from '@/admins/admin/admin-user-relationup/index.vue'
import adminUserTree from '@/admins/admin/admin-user-tree/index.vue'
import adminVdata from '@/admins/admin/admin-vdata/index.vue'
import adminAssistantList from '@/admins/assistant/admin-assistant-list/index.vue'
import adminAssistant from '@/admins/assistant/admin-assistant/index.vue'
import adminAutoArticle from '@/admins/auto/admin-auto-article/index.vue'
import adminAutoFaq from '@/admins/auto/admin-auto-faq/index.vue'
import adminAutoForm from '@/admins/auto/admin-auto-form/index.vue'
import adminAutoImage from '@/admins/auto/admin-auto-image/index.vue'
import adminAutoPreview from '@/admins/auto/admin-auto-preview/index.vue'
import adminAutoTable from '@/admins/auto/admin-auto-table/index.vue'
import adminAutoTask from '@/admins/auto/admin-auto-task/index.vue'
import adminAutoTime from '@/admins/auto/admin-auto-time/index.vue'
import adminAutoVideo from '@/admins/auto/admin-auto-video/index.vue'
import adminAutoconfigForm from '@/admins/auto/admin-autoconfig-form/index.vue'
import adminAutoconfigList from '@/admins/auto/admin-autoconfig-list/index.vue'
import adminLightappForm from '@/admins/auto/admin-lightapp-form/index.vue'
import adminLightappTable from '@/admins/auto/admin-lightapp-table/index.vue'
import autoAutoconfigList from '@/admins/auto/auto-autoconfig-list/index.vue'
import adminTaskEdit from '@/admins/basic/admin-task-edit/index.vue'
import adminTaskIndex from '@/admins/basic/admin-task-index/index.vue'
import adminWikiEdit from '@/admins/cloud/admin-wiki-edit/index.vue'
import adminWiki from '@/admins/cloud/admin-wiki/index.vue'
import adminCmsForm from '@/admins/cms/admin-cms-form/index.vue'
import adminCmsList from '@/admins/cms/admin-cms-list/index.vue'
import adminRelease from '@/admins/cms/admin-release/index.vue'
import adminSupportIndex from '@/admins/cms/admin-support-index/index.vue'
import adminTutorialAdd from '@/admins/cms/admin-tutorial-add/index.vue'
import adminTutorialIndex from '@/admins/cms/admin-tutorial-index/index.vue'
import adminTutorialList from '@/admins/cms/admin-tutorial-list/index.vue'
import adminTutorialShow from '@/admins/cms/admin-tutorial-show/index.vue'
import adminLogin from '@/admins/common/admin-login/index.vue'
import adminRelationClass from '@/admins/common/admin-relation-class/index.vue'
import adminRelationTag from '@/admins/common/admin-relation-tag/index.vue'
import adminTaskAction from '@/admins/common/admin-task-action/index.vue'
import adminCouponEdit from '@/admins/coupon/admin-coupon-edit/index.vue'
import adminCouponSend from '@/admins/coupon/admin-coupon-send/index.vue'
import adminDevelopApi from '@/admins/develop/admin-develop-api/index.vue'
import adminDevelopData from '@/admins/develop/admin-develop-data/index.vue'
import adminDevelopForm from '@/admins/develop/admin-develop-form/index.vue'
import adminDevelopIndex from '@/admins/develop/admin-develop-index/index.vue'
import adminDevelopWiki from '@/admins/develop/admin-develop-wiki/index.vue'
import adminApi from '@/admins/diy/admin-api/index.vue'
import adminDiyTheme from '@/admins/diy/admin-diy-theme/index.vue'
import adminPublishWechatlite from '@/admins/diy/admin-publish-wechatlite/index.vue'
import adminAccountEdit from '@/admins/finance/admin-account-edit/index.vue'
import adminAccountRecharge from '@/admins/finance/admin-account-recharge/index.vue'
import adminAccountWallet from '@/admins/finance/admin-account-wallet/index.vue'
import adminStoredEdit from '@/admins/finance/admin-stored-edit/index.vue'
import adminStoredValue from '@/admins/finance/admin-stored-value/index.vue'
import adminHudongEdit from '@/admins/hudong/admin-hudong-edit/index.vue'
import adminMerchantOrderedit from '@/admins/merchant/admin-merchant-orderedit/index.vue'
import adminMessageIndex from '@/admins/message/admin-message-index/index.vue'
import adminMpView from '@/admins/mp/admin-mp-view/index.vue'
import adminMp from '@/admins/mp/admin-mp/index.vue'
import adminJobEdit from '@/admins/share/admin-job-edit/index.vue'
import adminJob from '@/admins/share/admin-job/index.vue'
import adminRewardAdd from '@/admins/share/admin-reward-add/index.vue'
import adminRewardEdit from '@/admins/share/admin-reward-edit/index.vue'
import adminRewardModules from '@/admins/share/admin-reward-modules/index.vue'
import adminRewardRule from '@/admins/share/admin-reward-rule/index.vue'
import adminRewardSidebar from '@/admins/share/admin-reward-sidebar/index.vue'
import adminRewardTest from '@/admins/share/admin-reward-test/index.vue'
import adminCategoryEdit from '@/admins/shop/admin-category-edit/index.vue'
import adminDeliveryEdit from '@/admins/shop/admin-delivery-edit/index.vue'
import adminMarkerProduct from '@/admins/shop/admin-marker-product/index.vue'
import adminMarketProductShow from '@/admins/shop/admin-market-product-show/index.vue'
import adminOrderEdit from '@/admins/shop/admin-order-edit/index.vue'
import adminOrderList from '@/admins/shop/admin-order-list/index.vue'
import adminProductEdit from '@/admins/shop/admin-product-edit/index.vue'
import adminProductList from '@/admins/shop/admin-product-list/index.vue'
import adminSmsRecharge from '@/admins/sms/admin-sms-recharge/index.vue'
import adminSmsSend from '@/admins/sms/admin-sms-send/index.vue'
import adminSmsSendgroup from '@/admins/sms/admin-sms-sendgroup/index.vue'
import adminQrcodeEdit from '@/admins/tools/admin-qrcode-edit/index.vue'
import adminRoleEdit from '@/admins/user/admin-role-edit/index.vue'
import adminRoleOpen from '@/admins/user/admin-role-open/index.vue'
import adminUserEdit from '@/admins/user/admin-user-edit/index.vue'
Vue.component('zk-groupbuy', zkGroupbuy)
Vue.component('zk-aritcle-detail', zkAritcleDetail)
Vue.component('zk-article', zkArticle)
Vue.component('zk-help', zkHelp)
Vue.component('zk-wiki', zkWiki)
Vue.component('zk-backtop', zkBacktop)
Vue.component('zk-logo', zkLogo)
Vue.component('zk-nav', zkNav)
Vue.component('zk-nodata', zkNodata)
Vue.component('zk-paste', zkPaste)
Vue.component('zk-pay', zkPay)
Vue.component('zk-progress', zkProgress)
Vue.component('zk-top-nav', zkTopNav)
Vue.component('zk-amount', zkAmount)
Vue.component('zk-buy', zkBuy)
Vue.component('zk-cart', zkCart)
Vue.component('zk-order-list', zkOrderList)
Vue.component('zk-order-rate', zkOrderRate)
Vue.component('zk-order-show', zkOrderShow)
Vue.component('zk-product-class', zkProductClass)
Vue.component('zk-product-list', zkProductList)
Vue.component('zk-group-report', zkGroupReport)
Vue.component('zk-nym-report', zkNymReport)
Vue.component('zk-report-table', zkReportTable)
Vue.component('zk-single-report', zkSingleReport)
Vue.component('zk-address', zkAddress)
Vue.component('zk-audio', zkAudio)
Vue.component('zk-auto-dialog', zkAutoDialog)
Vue.component('zk-auto-form', zkAutoForm)
Vue.component('zk-avatar', zkAvatar)
Vue.component('zk-countdown', zkCountdown)
Vue.component('zk-dialog', zkDialog)
Vue.component('zk-file-audio', zkFileAudio)
Vue.component('zk-file-manage', zkFileManage)
Vue.component('zk-file-video', zkFileVideo)
Vue.component('zk-foot', zkFoot)
Vue.component('zk-grid', zkGrid)
Vue.component('zk-head', zkHead)
Vue.component('zk-html', zkHtml)
Vue.component('zk-image-list', zkImageList)
Vue.component('zk-image', zkImage)
Vue.component('zk-keyword', zkKeyword)
Vue.component('zk-list', zkList)
Vue.component('zk-popup', zkPopup)
Vue.component('zk-quick-action', zkQuickAction)
Vue.component('zk-search', zkSearch)
Vue.component('zk-swiper-nav', zkSwiperNav)
Vue.component('zk-swiper', zkSwiper)
Vue.component('zk-table', zkTable)
Vue.component('zk-text', zkText)
Vue.component('zk-title', zkTitle)
Vue.component('zk-top', zkTop)
Vue.component('zk-treetable', zkTreetable)
Vue.component('zk-video', zkVideo)
Vue.component('zk-address-edit', zkAddressEdit)
Vue.component('zk-head-user', zkHeadUser)
Vue.component('zk-qrcode', zkQrcode)
Vue.component('zk-user-address', zkUserAddress)
Vue.component('x-action-bars', xActionBars)
Vue.component('x-audio-select', xAudioSelect)
Vue.component('x-auto-preview', xAutoPreview)
Vue.component('x-autoconfig', xAutoconfig)
Vue.component('x-badge', xBadge)
Vue.component('x-batch-setting', xBatchSetting)
Vue.component('x-border', xBorder)
Vue.component('x-button', xButton)
Vue.component('x-chart', xChart)
Vue.component('x-chat', xChat)
Vue.component('x-checkbox', xCheckbox)
Vue.component('x-city-picker', xCityPicker)
Vue.component('x-class', xClass)
Vue.component('x-code', xCode)
Vue.component('x-col', xCol)
Vue.component('x-contextmenu', xContextmenu)
Vue.component('x-count-up', xCountUp)
Vue.component('x-data-multiple', xDataMultiple)
Vue.component('x-data-select', xDataSelect)
Vue.component('x-datetime-range', xDatetimeRange)
Vue.component('x-editor', xEditor)
Vue.component('x-enum', xEnum)
Vue.component('x-grade', xGrade)
Vue.component('x-icon', xIcon)
Vue.component('x-image', xImage)
Vue.component('x-json', xJson)
Vue.component('x-label', xLabel)
Vue.component('x-line', xLine)
Vue.component('x-map-select', xMapSelect)
Vue.component('x-markdown', xMarkdown)
Vue.component('x-multifile-upload', xMultifileUpload)
Vue.component('x-multipicture-image', xMultipictureImage)
Vue.component('x-preview-image', xPreviewImage)
Vue.component('x-preview', xPreview)
Vue.component('x-qrcode', xQrcode)
Vue.component('x-radio', xRadio)
Vue.component('x-relation-select', xRelationSelect)
Vue.component('x-relation-tree', xRelationTree)
Vue.component('x-select-image', xSelectImage)
Vue.component('x-select-time', xSelectTime)
Vue.component('x-select', xSelect)
Vue.component('x-table-button', xTableButton)
Vue.component('x-table', xTable)
Vue.component('search', search)
Vue.component('x-user-tree', xUserTree)
Vue.component('x-tabs', xTabs)
Vue.component('x-tags', xTags)
Vue.component('x-tutorrial-upload', xTutorrialUpload)
Vue.component('x-upload', xUpload)
Vue.component('x-username', xUsername)
Vue.component('x-video-select', xVideoSelect)
Vue.component('x-widget', xWidget)
Vue.component('admin-activity-edit', adminActivityEdit)
Vue.component('admin-activity-set', adminActivitySet)
Vue.component('admin-app-publish', adminAppPublish)
Vue.component('admin-app', adminApp)
Vue.component('admin-customer', adminCustomer)
Vue.component('admin-layout', adminLayout)
Vue.component('admin-light', adminLight)
Vue.component('admin-message', adminMessage)
Vue.component('admin-smart-hand', adminSmartHand)
Vue.component('admin-swagger', adminSwagger)
Vue.component('admin-user-freeze', adminUserFreeze)
Vue.component('admin-user-relationup', adminUserRelationup)
Vue.component('admin-user-tree', adminUserTree)
Vue.component('admin-vdata', adminVdata)
Vue.component('admin-assistant-list', adminAssistantList)
Vue.component('admin-assistant', adminAssistant)
Vue.component('admin-auto-article', adminAutoArticle)
Vue.component('admin-auto-faq', adminAutoFaq)
Vue.component('admin-auto-form', adminAutoForm)
Vue.component('admin-auto-image', adminAutoImage)
Vue.component('admin-auto-preview', adminAutoPreview)
Vue.component('admin-auto-table', adminAutoTable)
Vue.component('admin-auto-task', adminAutoTask)
Vue.component('admin-auto-time', adminAutoTime)
Vue.component('admin-auto-video', adminAutoVideo)
Vue.component('admin-autoconfig-form', adminAutoconfigForm)
Vue.component('admin-autoconfig-list', adminAutoconfigList)
Vue.component('admin-lightapp-form', adminLightappForm)
Vue.component('admin-lightapp-table', adminLightappTable)
Vue.component('auto-autoconfig-list', autoAutoconfigList)
Vue.component('admin-task-edit', adminTaskEdit)
Vue.component('admin-task-index', adminTaskIndex)
Vue.component('admin-wiki-edit', adminWikiEdit)
Vue.component('admin-wiki', adminWiki)
Vue.component('admin-cms-form', adminCmsForm)
Vue.component('admin-cms-list', adminCmsList)
Vue.component('admin-release', adminRelease)
Vue.component('admin-support-index', adminSupportIndex)
Vue.component('admin-tutorial-add', adminTutorialAdd)
Vue.component('admin-tutorial-index', adminTutorialIndex)
Vue.component('admin-tutorial-list', adminTutorialList)
Vue.component('admin-tutorial-show', adminTutorialShow)
Vue.component('admin-login', adminLogin)
Vue.component('admin-relation-class', adminRelationClass)
Vue.component('admin-relation-tag', adminRelationTag)
Vue.component('admin-task-action', adminTaskAction)
Vue.component('admin-coupon-edit', adminCouponEdit)
Vue.component('admin-coupon-send', adminCouponSend)
Vue.component('admin-develop-api', adminDevelopApi)
Vue.component('admin-develop-data', adminDevelopData)
Vue.component('admin-develop-form', adminDevelopForm)
Vue.component('admin-develop-index', adminDevelopIndex)
Vue.component('admin-develop-wiki', adminDevelopWiki)
Vue.component('admin-api', adminApi)
Vue.component('admin-diy-theme', adminDiyTheme)
Vue.component('admin-publish-wechatlite', adminPublishWechatlite)
Vue.component('admin-account-edit', adminAccountEdit)
Vue.component('admin-account-recharge', adminAccountRecharge)
Vue.component('admin-account-wallet', adminAccountWallet)
Vue.component('admin-stored-edit', adminStoredEdit)
Vue.component('admin-stored-value', adminStoredValue)
Vue.component('admin-hudong-edit', adminHudongEdit)
Vue.component('admin-merchant-orderedit', adminMerchantOrderedit)
Vue.component('admin-message-index', adminMessageIndex)
Vue.component('admin-mp-view', adminMpView)
Vue.component('admin-mp', adminMp)
Vue.component('admin-job-edit', adminJobEdit)
Vue.component('admin-job', adminJob)
Vue.component('admin-reward-add', adminRewardAdd)
Vue.component('admin-reward-edit', adminRewardEdit)
Vue.component('admin-reward-modules', adminRewardModules)
Vue.component('admin-reward-rule', adminRewardRule)
Vue.component('admin-reward-sidebar', adminRewardSidebar)
Vue.component('admin-reward-test', adminRewardTest)
Vue.component('admin-category-edit', adminCategoryEdit)
Vue.component('admin-delivery-edit', adminDeliveryEdit)
Vue.component('admin-marker-product', adminMarkerProduct)
Vue.component('admin-market-product-show', adminMarketProductShow)
Vue.component('admin-order-edit', adminOrderEdit)
Vue.component('admin-order-list', adminOrderList)
Vue.component('admin-product-edit', adminProductEdit)
Vue.component('admin-product-list', adminProductList)
Vue.component('admin-sms-recharge', adminSmsRecharge)
Vue.component('admin-sms-send', adminSmsSend)
Vue.component('admin-sms-sendgroup', adminSmsSendgroup)
Vue.component('admin-qrcode-edit', adminQrcodeEdit)
Vue.component('admin-role-edit', adminRoleEdit)
Vue.component('admin-role-open', adminRoleOpen)
Vue.component('admin-user-edit', adminUserEdit)


Vue.component('vue-draggable-resizable', VueDraggableResizable)
Vue.use(ElementUI)
Vue.use(VCharts)
Vue.use(GlobalPrototype)
const isDev = process.env.NODE_ENV !== 'production'
Vue.config.performance = isDev
Vue.config.devTools = isDev
Vue.config.productionTip = isDev

Vue.use(VueLazyload, {
	preLoad: 1.3,
	error: '',
	loading: '',
	attempt: 1
})

Vue.use(BaiduMap, {
	ak: 'wt8gzqTTv61t4XnsBsef8rzsPREovERn'
	// 我自己申请的钥匙 ak 'QFgFQorrB84maOZh0pPGC8kUiP0mGIhx'
})

Vue.directive('lazy', {
	inserted: el => {
		el.onerror = () => {
			el.src = 'https://diyapi.5ug.com/wwwroot/static/images/nopic.jpg'
		}
	}
})
ala.hubConnect()
/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	store,
	components: {
		App
	},
	template: '<App/>'
})